package com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchangelog.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 信息异动记录 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class StudentChangeLogBaseVO {

    @ApiModelProperty(value = "异动id", required = true)
    @NotNull(message = "异动id不能为空")
    private String changeId;

    @ApiModelProperty(value = "原状态", required = true)
    @NotNull(message = "原状态不能为空")
    private Integer oldStatus;

    @ApiModelProperty(value = "新状态", required = true)
    @NotNull(message = "新状态不能为空")
    private Integer newStatus;

    @ApiModelProperty(value = "审核用户")
    private String checkUser;

    @ApiModelProperty(value = "审核时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date checkTime;

    @ApiModelProperty(value = "备注")
    private String remark;

}
